﻿using System.ComponentModel;
using System.Windows;

namespace Garfield.Presentation.View
{
    public static class ViewPart
    {
        public static readonly RoutedEvent InitializedEvent = EventManager.RegisterRoutedEvent("Initialized", RoutingStrategy.Bubble, typeof(ViewPartInitializedHandler), typeof(ViewPart));
        public static readonly RoutedEvent ActivatedEvent = EventManager.RegisterRoutedEvent("Activated", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ViewPart));
        public static readonly RoutedEvent BringToFrontEvent = EventManager.RegisterRoutedEvent("BringToFront", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ViewPart));
        public static readonly RoutedEvent ClosingEvent = EventManager.RegisterRoutedEvent("Closing", RoutingStrategy.Bubble, typeof(CancelEventHandler), typeof(ViewPart));
        public static readonly RoutedEvent ClosedEvent = EventManager.RegisterRoutedEvent("Closed", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(ViewPart));
    }
}
